{{each data as da}}
<div class="swiper-slide">
    {{if da.lottery_path!=''}}
	<div class="baodian_ticket">
		<img src="{{da.lottery_path}}" alt="">
	</div>
	{{/if}}
    <div class="desc">
		{{da.summary}}
		{{if da.doc_id>0}}
		<div class="text-right" style="display: none;">
			<a href="/utils/docs/content/{{da.doc_id}}.html" class="btn btn_more arrow">查看详情</a>
		</div>
		{{/if}}
	</div>
	<div class="weui-flex header">
        <div class="weui-flex__item price"><div class="placeholder"><span class="money">￥{{ da.price }}</span> / 份</div></div>
        <div class="buttons">
        	<div class="placeholder">
        		<div class="weui-flex">
		            <div class="button minus">-</div>
		            <div class="weui-flex__item"><input type="tel" name="number" id="number" value="1" class="snumber" data-price="{{ da.price }}"/></div>
		            <div class="button add">+</div>
		        </div>
        	</div>
        </div>
    </div>
	{{if da.item.length>0}}
	<div class="levels" {{if da.back_path!=''}}style="background-image: url({{da.back_path}});"{{/if}}>
		<div class="center title_label">
			<img src="../../static/img/gas/title_label2.png"/>
		</div>
		<span class="subtitle">送现金给到店消费的用户：</span>
		<div class="weui-flex mt_15">
			{{each da.item as dat ind}}
				{{if ind===1}}<div class="weui-flex__item level_{{ind}}">{{/if}}
				{{if ind===0}}
				<div class="weui-flex__item level_{{ind}}">
					<span class="money"><span class="liandong" data-jishu="{{dat.lcount}}">{{ dat.lcount }}</span></span>个{{ dat.name }}由此商户产生，奖金<span class="money">￥<span class="liandong" data-jishu="{{dat.money*dat.lcount | money}}" data-fixed="2">{{ dat.money*dat.lcount | money }}</span>元</span>由平台送出。
				</div>
				{{else}}
				<div class="level"><span class="money"><span class="liandong" data-jishu="{{dat.lcount}}">{{ dat.lcount }}</span></span>个{{ dat.name }}：<span class="money">￥<span class="liandong" data-jishu="{{dat.money*dat.lcount | money}}" data-fixed="2">{{ dat.money*dat.lcount | money}}</span></span></div>
				{{/if}}
			{{/each}}
			</div>
		</div>
	</div>
	{{/if}}
	<div class="levels level_spr">
		<span class="subtitle">送现金给宝店做推广：</span>
		<div class="desc">
			<p>现金<span class="money">￥<span class="liandong" data-jishu="{{da.spreadMoney}}" data-fixed="2">{{da.spreadMoney}}</span></span>元由平台打入宝店推广账户，可随时在如下高流量推广平台中使用。</p>
			<h3><a href="#/gift/{{da.id}}/0" class="more float-right">更多</a></h3>
		</div>
		{{if da.gifts && da.gifts.length>0}}
		{{each da.gifts as group}}
		<h3>{{group.title}} <a href="#/gift/{{da.id}}/{{group.id}}" class="more float-right">更多</a></h3>
		<ul>
			{{each group.items as gift}}
			{{if $index<10}}
			<li><a href="#/giftcontent/{{gift.id}}/{{gift.ad_doc_id}}"><img src="{{gift.face_path}}?x-oss-process=style/w120h120"/><div>{{gift.title}}</div></a></li>
			{{/if}}
			{{/each}}
		</ul>
		{{/each}}
		{{/if}}
	</div>
	{{if da.doc!=null}}
	<div id="meal_doc_{{da.id}}" class="doccontent">{{#da.doc.content}}</div>
	{{/if}}
</div>
{{/each}}